import request from '@/until/request'
import Vue from 'vue';


// 用户客户

export const customersUserCus = (params) => {
  return request({
    url: `${Vue.prototype.$configURL}customers/userCus`,
    method: 'get',
    params: params,
    headers: {
      isToken: true,
      repeatSubmit: false
    }
  })
}

// 跟进记录
export const customersFollowUpRecord = (params) => {
  return request({
    url: `${Vue.prototype.$configURL}customers/followUpRecord`,
    method: 'get',
    params: params,
    headers: {
      isToken: true,
      repeatSubmit: false
    }
  })
}

// 回收客户
export const customersRecycle = (params) => {
  return request({
    url: `${Vue.prototype.$configURL}customers/recycle`,
    method: 'post',
    data: params,
    headers: {
      isToken: true,
      repeatSubmit: false
    }
  })
}
